<?php
/**
 * Created by PhpStorm.
 * User: win7
 * Date: 2018/9/21 0021
 * Time: 15:32
 */

namespace XtwsBack\Controller;


use Think\Controller;

//生成指定网站二维码
class QrcodeController extends Controller
{
    //生成二维码
    public function create(){
        $error = D("CreateQrcode")->Qrcode("002","http://www.xiangtws.com/index.php/Wx/Prodetail/index/id/565/");
        redirect("http://www.xiangtws.com/Public/UrlQrcode/".$error);
    }
}